There is nothing in the code and nothing stopping you if you have internal access.
Certain materials and certain project specifications may not allow it but it generally depends on what material you are welding.
If you have a root defect it is a lot less work to excavate and repair from the inside if you have access,
Regards,
Shane