Yes!

A voltage is created when there is an attraction between separate positive and negative charges. If you move all of the + to one side and all the - to the other, then you get the maximum attraction and the maximum voltage across the membrane.