Koyaanisqatsi
Electron addict
There are a few videos about this. But here's a sample of current costs. I was curious about it, because my front yard fence (4ft tall) is rotted out. I'd have to use micro-inverters and accept some dismal yield values as normal. But it's guaranteed to provide more energy than a wood, metal or plastic fence.
Certainly would be a different aesthetic!
Picket fence panel (3.5 x 8ft):
They go over $500/panel for some products, and down to around $50/panel.
Solar panel (7.5 x 3.75 ft):
signaturesolar.com
Galvanized fence posts that would be perfect for mounting bi-facial panels:
Obviously I've cherry-picked these examples. But it shows we are getting close!
Certainly would be a different aesthetic!
Picket fence panel (3.5 x 8ft):

Outdoor Essentials 3-1/2 ft. x 8 ft. Western Red Cedar Spaced Picket Flat Top Fence Panel Kit 241286 - The Home Depot
Our 3-1/2 ft. x 8 ft. Flat Top Cedar Spaced Picket Fence Panel Kit comes ready to assemble. This straightforward kit simplifies purchasing fence materials. Purchase one kit for every 8 ft. section. Posts
www.homedepot.com
Solar panel (7.5 x 3.75 ft):

Philadelphia Solar 550W Bifacial Solar Panel
Experience cutting-edge solar technology with the Philadelphia Solar 550W Bifacial Solar Panel. Available at Signature Solar. Built for durability and efficiency, this panel delivers high output with advanced Mono PERC Half-Cell technology, ideal for any environment.

Galvanized fence posts that would be perfect for mounting bi-facial panels:

PostMaster 1-3/4 in. x 3-1/2 in. x 7-1/2 ft. Galvanized Steel Fence Post 633663-1 - The Home Depot
Improve a style and protection to your chain link fence with the help of this extraordinarily designed PostMaster 11-gauge 13/31/71/ Galvanized Steel Fence Post.
www.homedepot.com
Obviously I've cherry-picked these examples. But it shows we are getting close!