Figma/Sketch don't use the box model. They are modeled after illustration programs. In fact Sketch IS an illustration program that like Photoshop before it got pressed into UI duty.
I hope not. It's a very lousy and frustrating illustration program. I'd rather design whole interfaces in Adobe Illustration that draw even the simplest shape in sketch.