Is it acceptable to tie some low voltage under kitchen cabinet lighting to a ground fault circuit? Is it a violation of electric code?

Thanks