First, I am not really sure what you mean by "it is hard to come across a general theory of ring actions." This is precisely module theory! If $f : R \to S$ is any ring homomorphism whatsoever, then composition with the natural map $S \to \text{End}(S)$ (where $S$ is regarded as an abelian group and $S$ acts on this abelian group by left multiplication; this proves "Cayley's theorem for rings") gives $S$ the structure of a left $R$-module.
Anyway, the objects you're looking for are the objects in categories such that Hom-sets canonically have the structure of an abelian group. These are the categories enriched over $(\text{Ab}, \otimes)$, or $\text{Ab}$-enriched categories. As Will Sawin says, a more traditional name is preadditive category, but I don't like this name because I don't think I should have to remember the distinction between preadditive, additive, and abelian categories to refer to something as fundamental as $\text{Ab}$-enrichment.
$\text{Ab}$-enriched categories are abundant. In fact, any ordinary category $C$ has a free $\text{Ab}$-enriched category $\mathbb{Z}[C]$ equipped with the universal functor from $C$ to an $\text{Ab}$-enriched category. This functor $\mathbb{Z}[-]$ is left adjoint to the forgetful functor from $\text{Ab}$-enriched categories to ordinary categories and can be explicitly described by taking free abelian groups on hom-sets. This is a slight generalization of the point Scott Carnahan makes in the comments, as this functor is monoidal, so sends monoids to their monoid algebras and sends monoid actions to ring actions.
More generally, let $V$ be any monoidal category. Then one can define $V$-enriched categories, and a $V$-enriched category with one object (more precisely the monoid of endomorphisms of such a category) is precisely a monoid object in $V$, and one gets various generalizations of monoids and rings this way. For example:
- A $\text{Set}$-enriched category with one object is a monoid.
- A $\text{Top}$-enriched category with one object is a topological monoid.
- An $\text{Ab}$-enriched category with one object is a ring.
- A $\text{Vect}$-enriched category with one object is a (unital, associative) algebra.
- A $\text{Ban}$-enriched category with one object is a (unital) Banach algebra.
- A $\text{Ch}$-enriched category with one object is a dg-algebra.
And so forth. (Note that $V$ itself need not be $V$-enriched; I believe this condition is equivalent to $V$ being closed monoidal). It is also possible to give a uniform definition of what it means for a $V$-monoid $A$ to act on an element $M$ of $V$ in terms of a map $A \otimes M \to M$ satisfying the usual axioms (this circumvents the need for $V$ to be $V$-enriched) which reproduces the notion of action of a monoid, module of a ring, representation of an algebra, etc.
Just as it is fruitful to generalize groups to groupoids by allowing multiple objects, one can generalize monoids to monoidoids (that is, categories!) in any of the above settings by allowing multiple objects. From this perspective, an $\text{Ab}$-enriched category is just a ringoid: a ring with many objects!
Thinking in this way makes certain aspects of ring theory look more natural, I think. For example, for certain nice $V$ there is a notion of Cauchy completion of a $V$-enriched category $C$ generalizing both the notion of Karoubi envelope and the notion of Cauchy completion of a metric space. The Cauchy completion of an $\text{Ab}$-enriched category is obtained by formally adjoining finite biproducts and then splitting idempotents. Now:
The Cauchy completion of a ring $R$ (as an $\text{Ab}$-enriched category) is the category of finitely-generated projective right $R$-modules.
This result gives a very conceptual approach to Morita equivalence: as it turns out, two rings are Morita equivalent if and only if their Cauchy completions are equivalent!