Yes you can move the database. In Management Studio right click on the database and select all tasks then detach database. Then move the files, then you can attach the database by right clicking on “Databases” in the object explorer of Management Studio and select all tasks then attach database. Find the file and select attach.
Keep in mind that if you put the database on an external drive it’ll be a lot slower than if it is on your internal disk.