Under current Scottish restrictions, no. You are not supposed to leave or enter Scotland without a reasonable excuse. This is the relevant section of the law with the examples of reasonable exuses
https://www.legislation.gov.uk/ssi/2020/344/schedule/7A