You can, but it makes more sense to assign it to a void \*. After all, it's a pointer but you don't know the size of the pointed object.
Note: this is not true everywhere since (data) pointers and function pointers can be represented differently, but on a PC it works :)