Not entirely. They also teach that God isn't bound by the sacraments, so he's free to save whoever he wants.The critical issue is salvation.
Catholicism teaches that salvation
is through the Catholic sacraments.
They also teach baptism of desire:
Baptism of desire - Wikipedia