Dear
@Chimee,
thank you for using the platform and being a part of the community.
As for your question, it depends if you have shared custody for the child- then yes you have the chance to get an Aufenthaltserlaubnis through the child.
I hope this can help you, if you need further clearification please use the platform.
Best regards,
Nilab