That's a good rigging idea, but like others have mentioned, it would be tedious to do often especially once other gear is stowed on the bike. I have considered similar situations. Often one can find one pole or tree, so it is possible to use the bike as the second support for a hammock and tarp. Here's one example:
https://www.hammockforums.net/forum/...-Hammock-Stand