Notes
Yes, to convert a Lookup Relationship into a Master-Detail Relationship, you must ensure that every child record has a valid parent record.
The lookup field on all child records must be populated with a parent record before the conversion. This is because a Master-Detail Relationship enforces strict parent-child dependencies, and no child record can exist without being associated with a parent.