Yes, since the model is randomly initialized at the beginning and trained afterwards.
Through the training you might get some edge detectors etc. in the first layers.
In CNNs you usually don’t initialize the filters to known image processing kernels, but let the model train them.