Depending on the parenting agreement and best interests of the child, the answer could be yes. Custody does not prohibit a parent from seeing a child. Custody is about who gets to make decisions about raising the child.
Many thanks to my esteemed colleague, Philip Epstein, for granting permission to publish here his report with respect to the expected expansion of unified family courts in Canada and particularly in Ontario. Published with permission from Westlaw's "Epstein's This Week in Family Law, Fam. L. News. 2018-13 [copyright Thomson Reuters Canada Limited]: