This is a straight-up Newtonian mechanics physics question, but it would probably get closed as homework-like on Physics SE, and it's fun, so I'll give you a Newtonian mechanics physics answer here. The answer is yes, as others have said, but it's not quite as others have described it.
Start with a more formal treatment of the mostly correct "oscillate to escape" answers.
Because there is no friction, the prisoner (whose name is Bob$^1$) can only accelerate his center of mass in the direction radially inward from his point of contact with the prison wall.
Because Bob can change his shape, he can temporarily move his point of contact with the prison wall in the tangent direction without accelerating his center of mass in the tangent direction.
Suppose Bob can change his shape such that the displacement between his center of mass and his point of contact, is described by the below triangle:
The force vector from a thrust at the blue point (the point of contact) will be in the direction of the green side of the triangle.
The proportion of thrust in the tangent direction (at the angle corresponding to the center of mass) is roughly the ratio of the blue segment to the green segment, but if one wants to be precise, it's the ratio of the green line segment to the yellow height of the purple triangle below.
For green line segment $r$, blue line segment $b$, note that the purple triangle is a similar triangle to the one above it, but with legs $b$, so its height $x$ is the height of the above triangle scaled by the ratio of $b$ to $r$:
$x = \frac{b}{r} \sqrt{r^2 - b^2/4} \approx b \text { for } b \ll r$
If Bob pushes such that his change of momentum is $\Delta \vec P_i$ in the green direction, then his change of velocity in the tangent direction is $\Delta v_i = \frac{x}{rm}|\Delta P_i|$.
If Bob times his changes of shape and his pushes such that his tangent velocity is zero whenever he pushes, each push adds
$\Delta T_i = 0.5m\Delta v_i^2$
until such time as Bob's total mechanical plus potential energy, $\sum \Delta T_i$, is greater than or equal to his potential energy at the height above which a displacement of $b$ puts Bob's point of contact outside of the hemisphere... which prevents him from pushing off, but should permit him to grab the rim and escape.
Bob, however, has a problem that the "oscillate to escape" answers have overlooked. He is not constrained to stay on the prison wall.
If Bob had an anchor point mounted at the center of the sphere, to which he had attached a rod that he could push against so as to constrain his motion to the prison wall, escaping would be easy and painless. Bob has no such anchor. While Bob's weight $m\vec g$ is roughly antiparallel to his direction of thrust, Bob is fine. All he needs to do is keep the force of his pushes low enough that gravity can pull his center of mass back down before his point of contact leaves the ground (just like you can stand up and sit down without ever leaping into the air or falling to a bone-jarring halt). However, as Bob reaches the more vertical portions of the wall, if Bob wants to continue adding significant $\Delta T_i$ per oscillation, Bob will have to begin hurling himself off of the wall and suffering impacts from falling.
One may have an intuition that this would prevent Bob from escaping, but this is an intuition based on our experience living in a world with friction: since friction forces increase based on how hard you're pushing on something, if you're pushing on something with the extremely large forces of crashing into it after falling from a significant height, the frictional forces are very large. In his frictionless hemisphere, Bob cannot faceplant, he can only faceslide. Hopefully Bob is good at frictionless acrobatics, and can land more comfortably than on his face.
Below: two pushes worth of Bob's later trajectory
Bob escapes, but only if he's tough enough to take a few hard thumps on the way out.
$1$: Alice is on a space ship with a large relative velocity $\vec u$ measuring Bob's escape attempt for next semester's homework assignment.