It does not appear that an air rifle, BB gun, or pellet gun is considered a firearm when determining whether a felon can possess one or not. Please see the links to the statute and a UNC School of Government blog article supporting this interpretation. Beware the risk though. You never know if a police officer would charge you that way, even if mistaken in the law.
For informational purposes only. This comment is not intended to be legal advice.
Keep in mind there may be laws about hunting animals with that kind of gun, should you decide to take it hunting.
Any information is provided for educational purposes only. No attorney-client relationship exists between any person reading this information. No warranty, express or implied is provided. If you have a legal matter is important to contact an attorney who is licensed in your state. Many attorneys provide free initial consultations.