It worked splendidly here, and has worked well probably in other series (not that I could name any immediately but I've got the same feeling about it as you), so why not? Regardless of it being the last episode or not, that seeing their love interest in a yukata for the first time scene is such a trope that it's almost a miracle if a youthful romance manga/anime in a contemporary setting doesn't have it.