Farming trees could somewhat be considered AFK, but it's more of a passive training method.
![](https://static.wixstatic.com/media/42bc87_cf49be9fa7254feb8ecc539b83853f8e~mv2.png/v1/fill/w_49,h_28,al_c,q_85,usm_0.66_1.00_0.01,blur_2,enc_auto/42bc87_cf49be9fa7254feb8ecc539b83853f8e~mv2.png)
There is an AFK farming method though, which is within the Chambers of Xeric.
You can train by planting and picking the herbs within the Chambers, and at a high farming level, you can get around 50k XP per hour, with AFK intervals ranging from 20 to 40 seconds at a time.
This method is decent for Ironmen as well, since you don't need to collect seeds, and it's particularly great for Ultimate Ironmen.