Is possible change the constrain axis of character movement into a sidescroller game?

I know that into a side scroller game the character move only left and right on xz (usually z is for jump) or yz axis but if I wanted to change this directive in game, so put the case actually my character movement is constrain to xz and i wanted change it in yz during the game, is possible? if yes, how to do?

hey, wow, do not make a crowded, you are too much to write… no really… if someone had deigned to even a vague and indicative response I could have put a lot less to do what I had to do … but anyway yes can do it, and I found the way to do it (although it took me 4 hours to figure out how to do it).

oh and “thanks for your reply”