Yes!

By making the ion concentration inside and outside different for only one of the ions, you can create a voltage. This voltage can be amplified if the concentration of both ions are different inside and outside of the cell.