May I ask you what the structure "if only for" means?
for example: if only for 1 night, if only for logical reasons...
I implies that the person is willing or able to do something that would normally not be worth the effort, because it will be "If only for.
In the song it means: I would be willing to love you forever if I could have just one night.
It implies other conditions are not being met.