Possibly from a Vulgar Latin insomnium, from Latin somnium or more likely from en- + sueño.
ensueño m (plural ensueños)