Unfortunately, it is not possible to have elements that are not selectable in yEd.
As a workaround, create a document with only your background elements. Then export the background diagram as a PNG file. Finally, set your exported PNG as background (see "File" -> "Preferences" -> "Background") for your real diagram.