there was at a given point a patch from Herbert Voss to support listings directly in LyX. It was presented at a time when we were in feature freeze and since it was reject due to the time of proposal Herbert lost interest in it.
I am not sure what is 'direct' support since I am just one step away from what I want. Is there a layout instruction that outputs text unchanged? I see something like FreeSpacing, but this means somthing else. Cheers, Bo