DCC programming

Are you asking if an Arduino could generate the pulses required by a standard DCC system?

If so the answer is YES and it has been done before. Google Arduino DCC controller

If you are trying to develop some non-standard system then you need to describe the system you want to implement.

...R