I think it would be fine. =)
Like mentioned, I believe it to be positive stimulation as long as he doesn't do it constantly (like you already mentioned). I let my male bettas see eachother through their tanks quite often.