Yes you can. This tutorial shows how to do it with table rows, but it is exactly the same for buttons.