Foreground logo in an impress template

I use templates to add a logo on the slides. The logo gets covered from time to time when adding images to the slide. Moving the image to the background doesn’t help to uncover the logo. In that case, I add the logo again (in the foreground). Is there a way to create a template such that a logo is always displayed in the foreground of the slide? Or is there any other method to accomplish this?

You did not mention LO version and OS version.
.
In general: If your logo is part of the master slide - it is part of the background. When covered on the regular slides layer there is no option to set the covering image to background or back of / behind the logo, IMHO.
.
To have the logo in the foreground it must be element of the regular slides which you could easily copy. Or you copy single logo images to the foreground.
.
More professional software can have layers of background and foreground, this reminds me of Medi8or. But this outstanding program is out of being maintained for years (and only running on Windows OS).
.
So this statement may not help you but make things clearer.