Yes, there are laws governing such equipment. Technically, they vary by state, so you should inquire directly to the radiation-safety department (or their website) of the state where you intend to operate it. In Illinois, before I retired, we registered each x-ray set that we had installed in the laboratory (as opposed to those we built for sale and were temporarily in house) and had periodic visits from the state authority to verify safe operation and record-keeping. You may need to keep a calibrated radiation meter to check safe operation.