24/7 light cycles are used by some (including myself) on burrowing species of monitor lizards. The concept focuses on the point that if a proper soil is provided for burrowing...inside the burrow/hiding area, the monitor will not be able to differentiate between 'daytime' and 'nightime' and will conduct it's basic functions whenever the need arises.

However, providing 24/7 lighting for an animal like a bearded dragon can be very unhealthy since they have what is called a 'third eye'....easily seen on the top of a bearded' head by an out of place looking 'dot' of scales. The 'eye' does not actually see...it functions as a 'light detector' to supply needed light sensitive environmental information to the bearded dragon such as day/night. Bearded not exposed to darkness will not get the proper rest will have all kind of problems which can lead to death. No heating lamp is needed for bearded dragons at night and supplemental heating is only needed if your nighttime temperatures drop below 72 degrees.

As far as the type of lighting is concerned, you MUST have a light that emits UVB wavelengths of light. Without UVB light, dragons are unable to process the calcuim ingested in their food items and will eventually become disabled and die from MBD (Metabolic Bone Disease). The UVB requirement goes for the majority of lizards with the exception of nocturnal lizards and monitor lizards. Also, calcuim suppliments and vitamins should also be used to help keep the nutrients that beardies utilize available.

Since you mentioned you had a young bearded, may I ask what kind of substrate you were keeping it on? Sandy or loose substrates have been know to cause impacted feces in young dragons which results in death. A sandy/loose substrate coupled with improper hydration will pretty much always result in the death of a baby dragon.

If you have concerns about your previous setup for the dead bearded, could you please describe how you were keeping the animal (i.e. feeding, watering, heating, and other housing information) so that some of here may be able to tell you what might have caused the issues that led the death of the animal.