I think it would be flaky at best; it wouldn’t be beyond the realms of possibility that a particular synth might not even really check for F7 as the end marker, but assume that the MSB being 1 is the end of the SYSEX data.
Found this in the “File Dump Data Packet” section of this document
so to be sure you should just encode any 7 bytes of 8-bit data into 8 bytes.