Yes, a capsule-filling machine can work with both gelatin and vegetarian capsules. It provides flexibility in choosing the type of capsules based on your requirements.