True or false? An em dash can take the place of parentheses…

True or false? An em dash can take the place of parentheses like in the example below?   And yet, when the car was finally delivered⁠—nearly three months after it was ordered⁠—she decided she no longer wanted it, leaving the dealer with an oddly equipped car that would be difficult to sell.