Lube and minute particles of lead will clog up the gas port and tube. The gas system on an AR is small diameters unlike a SKS or M14.
It can be done (I do) if your bullets are hard enough, sized right, lower velocities at the right velocity and load and also have the proper lube. The flight is different so you have to adjust your scope. Then you have to be diligent about cleaning your rifle. Blow the gas system out with some full load FMJ's or factory ammo before going home. Lots of brake cleaner and pipe cleaners long enough to clean out the gas tube.
Full load FMJ's just shoot better so save your cast for a bolt action. You still have to readjust your bolt action's scope every time you switch between lead and jacketed, because the loads and flight are still completely different. Subsonic cast loads work great in bolt actions so I don't bother with FMJ's in that gun.
If you really want a fun AR for cast bullets, get yourself a 9mm and you can shoot it on the handgun range indoors in the winter time, too.