I've used the following approach a handful of times, and as high as 12,500' MSL:
takeoff VFR without a filed flight plan (with Flight Following always a good idea)
prepare an IFR "Flight" in ForeFlight on your phone
a handful of minutes before you feel you'll need an IFR clearance, tap "File"...