Your idea is very good and highly recommended.
I suggest you buy a tee that can mix solar hot and cold water, then discharge the water from the third outlet, then heat it to the hot water faucet electric.
Here are the three links:
If you need an electric hot water faucet, please contact me.