You can make a custom soap dish that fits snuggly against your bathroom faucet, as seen on the left. Or you can put little feet on it for a more elegant design.
They only take a couple minutes to make, and can be much easier to wash then caked on soap on your counter. Just be sure to use cold water when washing it off so you don’t end up creating something new in the process…