I don't see why that should be a problem and you might well set a new golf fashion!

I never saw any kilted golfers when I was at St Andrews but I am not aware of any restriction preventing you.