Well, there's nothing wrong with that. This, however, is pretty pointless. For instance:
$('body').someMethod = function(){};
console.log($('body').someMethod);
You add a new function only to this selection, and not to all selections of this element.
jQuery.fn, jQuery.prototype:
jQuery.fn.someMethod = function() {
if (this[0].nodeName == 'body') {
}
return this;
};