Hello Ebrahim,
It is possible to train a neural network on sequential data. The following documentation page links to different examples on Deep Learning with Time Series, Sequences, and Text.
Find an example that suits your workflow the most and use it as a starting point.
Regards,
Zenin