To my knowledge, there’s currently (neither in stable nor experimental) no way to dig through walls/dirt/stone without causing some collapses.
I’d suggest to first expand your basement as much as you like and then fix the holes it created afterwards.