Don't think it's possible. Smoke smells, so do it outside if you can. Other than that you can vape (which also has its own smell) or take edibles (assuming you also like that experience).
I only smoke occasionally and usually as a group activity, but always outdoors. Edibles are kind of a hassle-free, healthier, less invasive, and more cost effective option. That said, there is something about the shared experience of passing a joint around.