There don’t seem to be any ferry routes from Stockholm going West of Gdansk.
You can probably go to Direct Ferries to look at a fairly comprehensive list of major ferry operators around Europe.
The best I can figure here is Stockholm-> Gdansk drive to Amsterdam or Rotterdam and take a ferry to England then drive to Scotland.
Rome2Rio also reports similar ferry routes.
ADDITIONAL INFO
Thanks to @Willeke for pointing me in the right direction:
There may again be ferries from Esjberg to Harwich starting this summer.
Credit:stackoverflow.com‘
4 Mar, 2024
5 Mar, 2024
4 Mar, 2024
4 Mar, 2024