Jenkins plugin development

Is it possible to run custom build plugin in background or to build a custom plugin to be run in background in Jenkins?

Not sure what exactly you mean but you can implement background work by extending one of the subclasses of https://javadoc.jenkins.io/hudson/triggers/SafeTimerTask.html in a plugin.