Yes you can! If possible, try to use GMO free Canola Oil. The oil would be marked as Organic and/or Expeller pressed. A few brands even carry a GMO free labelling.
For a perfect substitution, it is important to remember that butter has water in it unlike oil. So add about 1 tablespoon of water to the oil for every 1/2 cup.