Yes, you can betray the Institute after Mass Fusion. While this quest locks you out of working for the Brotherhood, you can still move forward with both the Minutemen and Railroad main questlines.