Question about the Perceptron algorithm

Hi, I have a quick question about Perceptron. Can a gradient algorithm be used in the perceptron learning algorithm? In particular, I mean the SGD algorithm.

I won’t pretend to know a lot about the topic in general, but stochastic gradient descent is the only gradient algorithm you can use for perceptions according to one Google source i just looked at.

You can see an implementation of it here https://machinelearningmastery.com/implement-perceptron-algorithm-scratch-python/