I have previously come across a valve (French I think) that replaces a toilet cistern with an automatically dispensed volume of water for flushing a toilet, thus removing the need for a cistern.
All I can seem to find at the moment are ones for urinals and systems that simply lift a siphon...