Sure, the electricity won't know the difference.

The only confusing thing about that is that the color of the wire changes so it might mess someone up down the road when they are trying to figure out what hooks to what.