You can technically try and smoke anything you put a flame to (whether its a good idea or not is a whole nother question), but if you want to know if it will get you high: the answer is probably not. Smoking whole beans or grounds is likely a bad idea and could be hazardous to your health.
If you insist on trying it you're better off getting pure caffeine and attempting it with that, though it may have to be in freebase form before hand