Can Seat Foam Be "Fabricated"?

I bought 2ft x 2ft chair seat foam at Joanns and did the bottoms of my bucket seats. I think it was 4 in thick. Seats were flat, not sculptured. Didn’t even have to trim it. The seatcover smoothed out the edges. With half off coupon it was only about $20 a seat. Bought hog rings & pliers on amazon. Definitely a low budget job but Looks and works real nice. Haven’t tried the seat backs yet.