A Block-Coordinate Approach of Multi-level Optimization with an Application to Physics-Informed Neural Networks