It depends on the laws in your jurisdiction. Many places have strict regulations against using handheld devices while driving, including any type of device holder that requires you to hold your phone or GPS in your hand.