BG, there are a few very nice modular/prefab homes in Encinitas and Carlsbad. These cities also have fairly generous zoning requirements for companion units.
Can’t seem to find Carlsbad’s right now, but have looked into it in the past and know that they allow accessory dwelling units similar to what Encinitas allows.