You can take the feed from anywhere on the circuit providing you have a perm live, neutral and earth present.
As the location is a bathroom, the cable if buried and the shaver point will require RCD protection. And if work is carried out in a bathroom zone, you will need to apply to building...