I’m assuming you’re talking about a sidescroller. It’s possible, but pathfinding and other features wont work very well. You might be better off making your own.
Here’s the thing - most of RAIN can be used for 2D games. However, RAIN currently requires the standard Unity axis setup (movement in the xz plane, y up). We have plans to allow RAIN to accept alternate axis in a future update.