No. Policy must be purchased before the trip. Most of the insurers impose exclusions on some benefits (such as Trip Cancellation), if policy was purchased less than 3 days prior to the trip.