Not too ambitious, but not too leisurely, either. Ironically, to go between Galway and Kilkenny by train, you have to connect in Dublin, so it’d be an L- shaped trip, not a triangle. Maybe fit Dublin in the middle of your trip? Or just at the end - skip the first night.
Are your flights set? The Shannon airport is closer to Galway, so flying into Shannon and out of Dublin (or vice-versa) could be more efficient, if the price and other factors don’t make that an unreasonable option. Our 2019 trip, we did fly in and out of Dublin, but when we landed, we immediately hopped onto a bus for Galway, and spent our first night there. There are two bus (“coach”) companies: Aircoach and Citylink. Either one gets you to directly from Dublin airport to Galway. Otherwise, use the Shannon airport at the beginning (or end) of your trip to fly into (or out of).
For Aran Islands, stick with just Inishmore, the biggest, given your timeframe. Rather than the ferry, which is more dependent on calm seas and can be interrupted (happened on both of our trips), opt for the much faster, more reliable, more convenient, and only a bit more expensive flight on Aer Arran airline. The airport is west of Galway, but much closer than the ferry terminal. I presume you’re doing this as a daytrip, and returning to Galway for the night.
I’d consider giving Galway an extra night, and Dublin one less. With 2 nights in Kilkenny, that would make 3 each in Galway and Dublin. If you were to reduce those nights even further, you could squeeze in Cork, south of Kilkenny, which has its own airport. Maybe fly into Shannon, stay in Galway, then stay in Dublin, then Kilkenny, finish in Cork and fly home???