You can fold back the legs, just keep some space between them, this will narrow the band width and effect the radiation pattern but it will make for a smaller foot print
I didn't think about linear loading when I posted above. You can indeed fold the elements back on themselves however it will be ttial and error with lengtb as the overall length of wire needed will differ than that of a straight dipole. It will also be less efficient.