You didn't specify an edition, so I'll give you the 3.5 answer: If the person was standing against a stone wall, it might be possible. Might be.
Every other spell that imprisons someone like that allows a Save, so that use should as well.
If you're talking about a "body cast" form, you'd need to be able to sculpt the component clay into that cast, including the shape of the person on the inside. Make me a Skill Check against Craft - Sculpture and we'll talk. And that talk will probably end in a "No" anyway.
The alternative would be a stone box, and the volume for the spell is relatively small in 3.5: Up to 10 cubic feet + 1 cubic foot per caster level.
At 5th level (minimum to cast a 3th level spell), that's 15 cubic feet. If you want to box someone in you have to figure on their height (5'10" seems a good number), so you need to go six feet in most cases. 2.5 to 3 feet across and 2 feet front to back totals to about 10 linear feet, and that presumes that they're standing at attention. Weapons or other poses may call for more.
So, 10 linear feet x 6 feet in height is 60 square feet. 15 (cubic feet) goes into 60 (square feet) four times, so the thickness will be 1/4 of a foot. Your stone wall would be 3" thick, at most, and that's in a best-case scenario.
If you simply want to encase the entire square they're in then the math is easier: Square footage is 5x5x4, or 100 square feet (five feet high, five feet wide for all four sides.) Fifteen (cubic feet) goes into 100 (square feet) 6.66666 times, so your barrier will be less than two inches thick.
No skill check to make a simple box, but it's easily escapible, since it hasn't a top. Want to add the top and close the box? Add at least a foot to the height, and add the fifth face. So 5 x 5 x 6, or 150 square feet. Walls are now 1.2 inches thick, and it's even easier to break out of. And if they have a weapon that reaches outside of their immediate square (which is really what most melee weapons are supposed to do), it fails outright.
So that was the long answer (though I skipped the long division
The short answer? No.
You can try to present all the math for scrutiny and approval, but if I were your DM I'd have to ask, "So, what are you really ding this round?"