That would be insanely hard because alot of the buffing items have requirements.
Effectively, your bot would need a full item db and all your stats to calculate the highest possible amount you can be buffed.
Not to mention an overly complicated plugin to make that happen.