Yes. If you test the basic jrpg example, the player only moves when on the level boundaries and when the player is in the X or Y center of the screen, the level then moves instead of the player to create 2D scrollable levels. But that also means that all other images, npcs and other level objects must move with it as well.

For a basic 2D collision block example, you can look at some code I wrote years ago for my Evoeon 2D Game Builder :
http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Main=53207&Number=442653
But remember that this code is old and needs to be cleaned up and rewritten.