In a fantasy world unrestricted by physics and market and costs and raw materials, - yes, they could.
Imagine what a similar investment in a stationary solar panel in that same yard would yield, a panel that will charge 100% of time.
That will have to be rolled out by the yards not the manufacturers of trailers. Trailers are leased as very few companies buy them.