Just to say, I've seen this with ghouls, although I don't use the targetting goggles very often.
Spoiler
It makes sense with some ghouls just laying about waiting for a creepy "rise from the dead" ambush. I'm often popping reposing ghouls. Sometimes, I've found deathclaws all curled up too. Mirelurks also have an ambush AI function. However, what you're describing, with respect to raider behaviour, doesn't make much sense in terms of Fallout 4's mechanics unless they're sleeping (i.e. in "beds"). Maybe there's a story element we're yet to trip over but, if I had to guess, I think you might be seeing a bug. I've read, elsewhere on this forum, descriptions of actors occasionally taking on the behaviour of other mobs (e.g. a http://www.gamesas.com/topic/1576744-little-things-that-annoy-you/?p=24775020).
I'm wondering if there might be a bug causing actors getting their ai mixed up (or if there's an unexpected connection or two in the actor ai settings)? It could be something as simple as Actor type (2) using Combat AI (1) (for convenience and to reduce duplication) when Combat AI (1) might, by default, return or feed back to Actor AI (1) - which may not make sense as a system of behaviour in Actor type (2). And, all of a sudden, we start seeing talking searchlights and reposing raiders who, incidently, are missing out on having "FUN!"