Can `getBoundingClientRect` return values in `rem`?

I am using rems for my CSS sizes and am also using getBoundingClientRect in javascript. getBoundingClientRect returns it’s values in px by default. Is it possible to get it to return the values in rems? It would make my code a little simpler.