I've seen pictures ofpistols made from rifles, with cut down air chambers and such, some keeping most of the length of the barrel,
Recently, I've seen a logon [forget the model, but stock is black plastic, and it has a revolving magazine.
Many [?most?] have scopes.
Sounds like a fun project for an inexpensive PCP conversion.