The only way to interact with the boulders is to throw Poké Balls at them, but this has no effect.
If you're trying to reach a specific area, perhaps there is another route you haven't discovered yet. If you can provide more context about what you're trying to do, I might be able to help you find a solution!