Yes, you can use a drone in Edinburgh, but you must adhere to the regulations set by the Civil Aviation Authority (CAA). All drones must be kept in line of sight at all times and you must always keep below 400ft (122m). You must also follow the regulations regarding the safe and secure flight of drones, maintained distances from buildings and people, and no-fly zones. Additionally, you may need to obtain permission from the CAA and/or the local police if you are flying in or near any heavily populated areas. You should also make sure to acquaint yourself with the relevant National Airspace Rules and regulations before you fly, and be familiar with the restrictions imposed on the local airspace.