Hello @Sid Mohiddin and thanks for reaching out. Currently, you cannot configure number of SendCodes reached in Azure AD B2C AadSsprProtocolProvider. You can let the product team know about your idea posting it in the Azure AD Feedback Forums. If enough interest is raised, it may be added as feature to implement.
Let us know if you need additional assistance. If the answer was helpful, please accept it and complete the quality survey so that others can find a solution.