A 60-year-old has been accused of putting lives at risk by trying to burn his own flat down.