Just get a 6 inch piece of aluminum c channel. Add keyholes and mount it to the bed. That way you can slide it forward and remove it. I’d want more than straps. As Koda mentioned the tailgate itself might not be up to the task. I’d spend the $19 and rent a trailer instead of risking your truck and bike.
I really can’t imagine anyone would say “ that looks like a good idea”