Can a pilot fly a drone anywhere he wants?

No.  There are many factors involved.  Is the flight in controlled airspace B,C,D.  If so the tower needs to be contacted to get permission.  Are there any flight restrictions?  Notams need to be checked before any flight can be carried out.  Sectional charts (used by pilots) need to be checked to see if there are any issues or restrictions.