Yes, in the right configuration, you can electrocute yourself with an apple.
So writes 2002 Ig Nobel chemistry prize winner Theo Gray, who explains in more detail how and why one might act on his suggestion. (The photo below shows a variant on the procedure and on the result.)