How could we make our own engine? I always wanted to do that. I can only think about rewriting existing engines. I have started trying to make a game, but it is only in my head...
You could do some prototyping with an existing engine. And for 2D rpgs there is
RPG Maker XP. There is a scripting language built-in, so you can change it to use any battle or game system you can think of.