Sounds like a very practical solution.
A Few years ago, Dear Wife had some eggplants growing in containers out on our deck. The squirrels ate all the eggplants long before they had a chance to grow to full size and ripen. After that, I got some 4-foot-tall chicken wire, made a wrap around each container, and used some thin wire to close the tops. No more thieving squirrels stealing the eggplants! Last year we had a bumper crop of container eggplants out on the deck.
View attachment 3530092
Notice that I made the wire cage quite a bit larger than the container. That allows the eggplant to grow and fill out during the summer. So far, that setup has been enough to keep the squirrels out and the eggplants safe inside the cage. In the winter, I can fold the wire cages flat for storage.
I already had the chicken wire, but I think each cage used about 6 feet of 4-foot-tall chicken wire in case you want to get an estimate of how much it might cost to make your own. I just used some old thin wire I had laying around the garage to close the top of the cage, but a person could easily use cable ties as well. Only took me a few minutes to make each cage.
Dear Wife loves those chicken wire cages!
She is not so fond of the squirrels trying to steal her eggplants.