Altermagnetism in an interacting model of kagome materials