PVC is your best friend here. There are plenty of fittings available for making a cool basking platform.
If you want to make a floating dock (probably not, but it was the first thing I thought of when I read "styrofoam"), you can just glue together a rectangular PVC shape and it'll float. Just drill out holes in a different part of the structure that's separate from the closed of sections. Slide metal rods through with suction cups at either end like the store bought docks have. Now you can customize the shape and it will definitely hold up better.
I made a PVC dock that hangs from the side of my tank. I'm going to build one that actually sits in the tank for my new 75 gallon.
Good luck!
Edit: made this:
