Yes, grandparents can seek custody or visitation rights in Maryland under certain circumstances. The court considers the best interests of the child and may grant custody or visitation rights to grandparents if it is deemed to be in the child’s best interests.