Recoilless rifles such as the Carl-Gustaf are probably the closest thing to what you are describing. With the prevalence of ATGM's, recoilless rifles are pretty much relegated for line-of-sight fire support roles. For instance, hitting buildings or barricades which contain enemy combatants.