Yes of course but the feed to the shower from the pump needs to be disconnected from the draw off so as it doesn’t feed other hot water outlets. The only reasons I can think for your shower pump sporadically pumping is incorrect installation,faulty flow switch or your showers mixer valve...