Sagnaw Pulley - are the 2 types interchangable?

The bottom of the shaft is smooth. I was asking if it could fit on the smooth part and be held on with the nut on the threaded end. Thanks