I believe the answer at the moment is "No" but a very simple formula in LibreOffice 22.214.171.124 can achieve the desired result:
where B1 contains:
as valid and A1 contains the number in decimal.
The B1 cell would not be required with this version:
This converts to binary, strips out the
0s and counts the number of characters left thereafter.
With the appropriate delimiter, should also work at least in Excel, Sheets and OpenOffice Calc.