Ooh - like this idea. I have a fairly hefty APC UPS that will soon become redundant. I wonder if this might be a basis for powering a Solar Voltaic charged, whole house LED lighting circuit..... Free lighting appeals to me. Thinking about it, I'd actually be better making the lighting circuit low voltage due to the conversion losses, ...
Possibly not. Even running LEDs, the currents at 12V soon add up, and you'll need hefty cables to avoid excessive voltage drops. Lose a volt or two off the mains and it's negligible - lose a volt or two off 12V and your LEDs will notice. Also consider if you'll have other stuff that will still need 240V AC - time clocks, etc, etc. If you still have those, then you'd still be running an inverter to be off grid, so you might as well use it to run the lights - and you'll still have a choice of a full range of off the shelf light fittings rather than the much smaller range of stuff that's suitable for 12V only.
From the finance POV, if you are on-grid then export the PV output and take the FIT - it'll be financially much better than trying to run part of the house on PV and some on the grid.