yes
here's mine (as an example, i use fvwm, and some things needs to be run from .xinitrc)
Code:
xsetroot -solid black &
xmodmap ~/.fvwm/appconf/xmodmaprc &
exec fvwm
& is needed to continue executing script....
and last line starts fvwm, there you don't use
&