2-D Side Scrollers like Tomba

Is it possible to create a side scrolling game where you can move between different layers in the foreground and background, similar to Tomba/Tomba 2 for the PS1?

Here’s a gameplay video

I appreciate any help