Yes sauerkraut is a perfect food to eat when losing weight.
Sauerkraut is high in fiber and low in calories so when eating sauerkraut along with some other foods you'll feel fuller as a result but keep your calories down.
You can add sauerkraut to many things including salads when trying to lose weight and you'll keep your calories down which helps you lose weight.
Sauerkraut is very healthy for you too and has good bacteria that helps promote good health.
Sauerkraut contains beneficial probiotics which help with your digestive health so the sauerkraut is good for your digestion.