Easy to do.... just drill & tap the slide, mount the rail, and hang whatever you want on it.
However..... you just changed the mass of the slide, so you'll need to monkey with a bunch of recoil springs until you find one that works. Also, the slide banging back & forth will trash almost anything you mount on it..... even with a recoil buffer.
I have seen some that mount "under the chin".... not sure if they were add-ons or if they were an integral part of the frame.
To each his own..... I'd consider it a crime to put a rail on a 1911..... save it for the AR. Or, be a mall ninja and hang everything but the kitchen sink on a short-barrel pump shotgun with a folding stock and a pistol-grip forearm.