Assuming the caffeine was delivered in liquid form (in coffee, energy drinks, sodas, etc). It would be fairly easy to exceed lethal dosage via caffeine in tablets, powder, or capsule form.
There are mass/weight gainer supplements that you could try (maybe start with 2-3 servings/week) but I wouldn't use it without some sort of anaerobic training program to build muscle.