That is what I did for a trellis around my carport. I put threaded rod in the concrete and made anchors out some decently heavy angle iron I had. Eventually its gonna rot and as you say its easier to replace that way.
Fence vs Carport, wonder what the difference could be?