Nuclear structure corrections in muonic atoms with statistical uncertainty quantification