Absolutely!
It May take some time for a solid food chain to develop, but yes, a large floating object will become fish habitat.
It will work better if it is anchored in a spot where fish will naturally aggregate, as on a good drop off or a current line.
Check with applicable laws and agencies first.