Yes, "encalhar" may have this figurative meaning. Usually it has a negative tone, that is, the person wanted to marry someone, but has not found a suitable partner (or the society expected him/her to marry). Examples:
- Minha irmã já passou dos 40 e encalhou.
- Essa velha encalhada é muito chata! (offensive).