Orthographic Camera for objects but perspective for GUI?

I was wondering if I can make perspective camera with gui layer mask lay on the orthographic camera that shows only 2d objects.
[I want to make rotated player’s health indicator so the part of it is behind the player]
Is it possible? I’m a newbie if it comes to the cameras.

It is possible. Create 2 cameras, one perspective, one orthographic. Set them up so at least one layer is the gui layer and only rendered by whichever camera you chose. set their Depth, gui smaller than the other, so they get rendered one after another. That should be it.