If the rifle has stampings of .223 Rem or 5.56x45mm on it, then
yes it can. If it has stampings of other cartridges, then don't do
it! Almost all guns have markings of their caliber on the reciever
or the barrel. If your confused, find a professional (Gunsmith,
firearms enthusiast,etc) and ask.
Hope this helps.