This highly flexible add-on is almost always restricted to travelers who buy within approximately 2 weeks of their initial booking.

Can I Buy Travel Insurance After Booking? | Allianz Partners

Yes, you can absolutely purchase travel insurance after booking your trip. Most providers allow you to buy a policy at any time up until the day before your departure.